<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="/struts-tags" prefix="s" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link href="common/css/style.css" rel="stylesheet" type="text/css" />
<title>Buscar Artefacto</title>
</head>
<body>
<form action="listaArtefacto">
<div id="contenido" align="center">		
<table width="668" height="379" border="0" cellpadding="0" cellspacing="0">
  <tr>
    
    <th width="530" align="center" valign="middle" scope="col"><img src="common/images/cabecera.png"></img></th>
  </tr>
  <tr>
    <th height="76" align="left" valign="middle" scope="col">
	
	<fieldset style="margin:5px 5px 5px 5px; border-color:#000000; borde">
		<legend>Lista de Artefactos a Vender</legend>
		
		<table width="700" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <th colspan="4" scope="col">
	
	<table width="754" border="1">
  <tr align="center" bgcolor="#CCCCCC">
  	
    <th scope="col">NOMBRE</th>
    <th scope="col">Nro SERIE</th>
    <th scope="col">MARCA</th>
    <th scope="col">MODELO</th>
    <th scope="col">ESTADO</th>
    <th scope="col">OBSERVACION</th>
  </tr>
  <s:hidden name="idcomprador"></s:hidden>
  <s:iterator value="artefacto">
  <tr bgcolor="#FFFFFF" align="center">
    <td><s:property value="idart" /></td>
    <td><s:property value="nombre" /></td>
    <td><s:property value="nroserie" /></td>
    <td><s:property value="marca" /></td>    
    <td><s:property value="modelo" /></td> 
    <td><s:property value="estado" /></td>
    <td><s:property value="observacion" /></td>  
    <td>
    <s:a action="seleccionarArtefacto-%{idart,idcomprador}" >SELECCIONA</s:a> 
      </tr>
  </s:iterator>
</table>	
	</th>
  </tr>
  <tr>
    <td width="180" height="37" align="center" valign="middle"><input  id="submit1" type="submit" name="submit"value="BUSCAR" /></td>
    <td width="159" align="center" valign="middle"><a href="MenuPpal.jsp"><input  id="submit1" type="submit" name="submit"value="SALIR" /></a></td>
    <td width="201">&nbsp;</td>
    <td width="196">&nbsp;</td>
  </tr>
</table>	
	</fieldset>	
	</th>
  </tr>
</table>
</div>
</form>
</body>
</html>